<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<%@ taglib prefix="perm" uri="http://wanhuakeji.com/permission" %>
	<%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
	<%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
	<script type="text/javascript" src="${path}/html/js/js-jsp/layout-sub.js"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/us/employee/employee.js?v=<%out.print(Math.random());%>"></script>
	<script type="text/javascript" src="${path}/html/js/js-jsp/common/select-plugin.js?v=<%out.print(Math.random());%>"></script>
	<script>
        addBtn = <perm:hasPermission permission="rules:us_employee_add"/>;
        delBtn = <perm:hasPermission permission="rules:us_employee_del"/>;
        editBtn= <perm:hasPermission permission="rules:us_employee_edit"/>;
        searchBtn = <perm:hasPermission permission="rules:us_employee_find"/>;
        viewBtn = <perm:hasPermission permission="rules:us_employee_view"/>;
	</script>
</head>
<body style="height:100%; margin: 2px; ">
    <div class="easyui-layout"  fit="true" space="2">
        <div region="north"  style="height:100%;">
            <div class="easyui-layout" fit="true" space="2">
                <div region="north" class="searchToolBar" border="false" style="height: 120px">
					<fieldset>
						<legend>系统操作</legend>
							<form id="employeeQueryForm" name="employeeQueryForm" method="post">
								<table class="searchTable">
									<tr class="searchTableTr">
										<td>
											<input type="hidden" name="id" id="id_" value="" />
											<input class="easyui-textbox" type="text" label="员工姓名：" labelWidth="82" labelposition="left" data-options="prompt:'请输入员工姓名'" name="name_" id="name_" style="width:90%; height: 32px">
										</td>
										<td>
											<input class="easyui-textbox" type="text" label="员工工号：" labelWidth="82" labelposition="left" data-options="prompt:'请输入员工工号'" name="jobNumber_" id="jobNumber_" style="width:90%; height: 32px">
										</td>
										<td>
											<input type="hidden" name="companyId_" id="companyId_">
											<input class="easyui-combotree" label="所属公司：" labelWidth="82" labelposition="left" id="companyTree" style="width:90%; height: 32px"/>
										</td>
										<td>
											<select class="select-commonDict"  label="所任职务：" labelWidth="82" labelposition="left" data-modelCode="US" data-funCode="employeeJob" defualt-show="--请选择--" name="employeeJob_"
													id="employeeJob_" style="width:90%; height: 32px" editable="false"/>
										</td>
									</tr>
								</table>
								<table class="searchTable" style="margin-top: 0px">
								<tr class="searchTableTr">
										<td></td>
										<td></td>
										<td colspan="2" style="width: 50%;">
											<div class="searchButton">
												<!--员工操作菜单-->
												<div id="employee_menu"></div>
											</div>
										</td>
									</tr>
								</table>
							</form>
					</fieldset>
                </div>
                <div region="center" border="false" style="padding: 1px;">
                    <!--员工表格列表-->
                    <table id="employee_dataList"></table>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="${path}/html/js/js-jsp/common-optionBtnArray.js"></script>
</body>
</html>
